namespace Front._1117;

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }

    private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
    {
        throw new System.NotImplementedException();
    }

    

    private void button1_Click(object sender, EventArgs e)
    {
        openFileDialog1 = new OpenFileDialog();
        if (openFileDialog1.ShowDialog() == DialogResult.OK)
        {
            //头像上传
            string filename = openFileDialog1.FileName;
            File.Copy(filename, "D:\\1117\\" + Path.GetFileName(filename));
            this.pictureBox1.Image = Image.FromFile(filename);
        }
    }
    private void button1_Click_1(object sender, EventArgs e)
    {
        throw new System.NotImplementedException();
    }
    
}